﻿@model Abhimanu.Mobile.Models.AskQuery
@{
    ViewBag.Title = "Ask Question From Faculty";
    Layout = "~/Views/Shared/M/_FacultyLayout.cshtml";
    List<SelectListItem> facultyList = new List<SelectListItem>();
    facultyList = Model.GetFacultyList();
}
<a data-role="button" class="no-Ajax"   style="float:left" href="@Url.Action("Communicate", "Faculty")">
    Back</a>
<br />
<br />
@using (Html.BeginForm())
{
    <ul data-role="listview" data-inset="true" data-theme="d" data-divider-theme="a">
        <li data-role="list-divider">Student's questions</li>
        @foreach (var item in Model.Queries)
        {
           <li> <a  style="text-align: left; font-size: 12px;" href="@Url.Action("QueryReply", "Faculty", new { queryId = item.QueryID })">
                @Html.DisplayFor(modelItem => item.Question)</a>
                </li>
        }
    </ul>
}
@section scripts
{
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
